Skip to content

Conversation

bluetech
Copy link
Member

Fix #13807.

@psf-chronographer psf-chronographer bot added the bot:chronographer:provided (automation) changelog entry is part of PR label Oct 13, 2025
@bluetech bluetech force-pushed the monkeypatch-deprecate-fixup-ns branch 2 times, most recently from 47566bc to 94a24bc Compare October 13, 2025 08:14
@bluetech
Copy link
Member Author

I noticed it's not covered in CI so I updated the test to work with latest setuptools as well, but just skip if pkg_resources cannot be imported (e.g. when setuptools finally removes it).

Copy link
Member

@nicoddemus nicoddemus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@bluetech bluetech force-pushed the monkeypatch-deprecate-fixup-ns branch from 94a24bc to 8fb067f Compare October 13, 2025 19:40
@bluetech bluetech enabled auto-merge October 13, 2025 19:59
@bluetech bluetech merged commit b0ff341 into pytest-dev:main Oct 13, 2025
33 checks passed
@bluetech bluetech deleted the monkeypatch-deprecate-fixup-ns branch October 14, 2025 05:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:chronographer:provided (automation) changelog entry is part of PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

monkeypatch: remove pkg_resources.fixup_namespace_packages call in syspath_prepend

3 participants